<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
    <meta name="description" content="U联赛是中国大学生" />
    <meta name="Keyword" content="U联赛，大学生篮球联赛，大学篮球，篮球联赛" />
<title>比赛赛程</title>
<link rel="stylesheet" type="text/css" href="../../../admin/site/common/css/global.css" />
<script type="text/javascript" src="../../../admin/site/common/js/jquery-1.11.1.min.js"></script>

</head>
<body>
	<div class="page">
		<div class="toper">
		</div><!--顶部广告banner-->
		<div class="header" id="header">
			<input id="sessionWeixin" type="hidden" th:value="${session.indexWeixin}"/>
			<input id="sessionFans" type="hidden" th:value="${session.indexFans}"/>
			<input id="sessionUser" type="hidden" th:value="${session.user==null?'1':'2'}"/>
			<input id="sessionUserName" type="hidden" th:if="${session.user!=null &amp;&amp; session.user.userName != null}" th:value="${session.user.userName}"/>		
		</div><!--复合导航栏-->
		<div class="teammain bodymain">
			<div class="bdsharebuttonbox quicklink" id="fenxiang">
				<!-- 此处分享代码 -->
			</div>
			<div class="alltitle">
				<div class="tm-alltitle">球队一览
				</div>
				<div class="tm-blank">
				</div>
			</div>
			
			<div class="tm-select">
				<dl class="tm-area tm-selectitem">
					<dt>区域：</dt>
					<dd th:each="zone:${zoneList}">
					   <a href="#" th:value="${zone.id}" th:text="${zone.name}" th:id="${zone.id}"   th:class="${zone.id==zoneId?'itemon zoneId':'zoneId'}">
					   </a>
					</dd>
					
				</dl>
				<dl class="tm-city tm-selectitem">
					<dt>城市：</dt>
					<dd class="tm-relative">
						<div class="tm-city-sel tm-sel" th:text="${cityName}"></div>
						<ul class="tm-city-ul tm-ul" id="cityUi">
							<li th:each="city:${list}" th:text="${city.name}"
							th:value="${city.id}" th:id="${city.id}"
							class="queryZoneId" onclick="checkZone(this)">
						     </li>
						</ul>
					</dd>
				</dl>
				<dl class="tm-campus tm-selectitem">
					<dt>学校：</dt>
					<dd class="tm-relative">
						<div class="tm-campus-sel tm-sel">请选择</div>
						<ul class="tm-campus-ul tm-ul" id="schoolUi">
							<li></li>
						</ul>
					</dd>
				</dl>
				
				<button class="red-btn tm-search" id="dp-search">查询</button>
			</div>
			<div class="tm-block">
				<div class="tm-initial">
					
				</div>
				<div class="tm-campusname" th:each="school:${schoolList}" >
					<div th:text="${school.name}" th:value="${school.id}" th:id="${school.id}"></div>
					<input  type="hidden" th:value="${school.id}" th:id="'school-id'+${school.id}"/>
					  <!-- <div th:each="team:${school.teamList}" th:text="${team.name}">
					   <a href="#" th:text="${team.name}" th:id="${team.id}" th:value="${team.id}" class="query-teamData"></a>
					  </div> -->
					 <ul class="tm-list">
					    <li th:each="team:${school.teamList}">
					       <a href="javascript:void(0)" th:text="${team.name}" th:id="${team.id}" th:name="${team.schoolId}" onclick="aClic(this)"></a>
					      
					    </li>
				     </ul>
				</div>
				
			</div>
			
			
			
		</div><!--球队内容-->
		<div class="footer  unblanfoot" id="footer" th:utext="${session.indexFooter}">
			
		</div><!--页面底部-->	
	</div>
</body>
	<script type="text/javascript" src="../../../admin/site/common/js/header.js"></script>
	<script type="text/javascript" src="../../../admin/js/team.js"></script>
	
	<script type="text/javascript">
	 $(function(){
		 $("#nav-team").attr("class","nav-clickon");
		 /*	$('.tm-ul li').hover(function(){$(this).addClass('teamon')},function(){$(this).removeClass('teamon')});
		$('.tm-ul li').on('click',function(){$(this).parent().slideToggle('fast')});
		$('.tm-sel').on('click',function(){$(this).next().slideToggle('fast')});
		$('.tm-ul li').on('click',function(){$(this).parent().parent().find('.tm-sel').text($(this).text())});
	
		$(".zoneId").click(function(e){
			var id=$("#zoneId-" + e.currentTarget.id).val();
			//alert(id);
			window.location.href = "/team/teamWebList.html?zoneId="+id;
		});
	
		$(".queryCityId").click(function(e){
			var cityId=$("#cityId-" + e.currentTarget.id).val();
			var zoneId=$("#query_zoneId").val();
			window.location.href = "/team/teamWebList.html?cityId="+cityId+ decodeURIComponent("%26")+"zoneId="+zoneId;
		});
		
		$(".queryschoolId").click(function(e){
			var schoolId=$("#schoolId-" + e.currentTarget.id).val();
			var zoneId=$("#query_zoneId").val();
			var cityId=$("#query_cityId").val();
			
			window.location.href = "/team/teamWebList.html?schoolId="+schoolId+ 
					decodeURIComponent("%26")+"zoneId="+zoneId+decodeURIComponent("%26")
					+"cityId="+cityId;

		});
		
		
		  */
	});

	</script>
</html>
